<?php
/**
 * Created by PhpStorm .
 * User: 杜磊磊
 * Date: 2020/6/27
 * Time: 10:40
 */
use think\facade\Route;
Route::rule("smscode","sms/code","post");//短信验证码
Route::rule("login","login/index","post");//用户登录
Route::resource('user', 'User');//个人中心
Route::rule("logout","logout/index","get");//退出登录